<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
* {
	margin: 0;
	padding: 0;
}

body {
	font: 12px 宋体;
	background-image: url(images/XING.jpg);
	background-repeat: no-repeat;
}

a{
text-decoration:none;
}
</style>

<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$(".Level1menu1").click(function() {
			$(".Level2menu1").toggle(10);
		});

		$(".Level1menu2").click(function() {
			$(".Level2menu2").toggle(10);
		});

		$(".Level1menu3").click(function() {
			$(".Level2menu3").toggle(10);
		});

		$(".Level1menu4").click(function() {
			$(".Level2menu4").toggle(10);
			$(".Level2menu5").toggle(10);
		});

		$(".Level1menu5").click(function() {
			$(".Level2menu6").toggle(10);
		});
		$(".Level1menu77").click(function() {
			$(".Level2menu77").toggle(10);
		});

		$(".Level2menu1").click(function() {
			$("#building_management").show(10);
			$("#complain").hide(10);
			$("#repairs").hide(10);
			$("#redact").hide(10);
			$("#AllNotifications").hide(10);
		});

		$(".Level2menu2").click(function() {
			$("#complain").show(10);
			$("#building_management").hide(10);
			$("#repairs").hide(10);
			$("#redact").hide(10);
		});

		$(".Level2menu3").click(function() {
			$("#repairs").show(10);
			$("#complain").hide(10);
			$("#building_management").hide(10);
			$("#redact").hide(10);
			$("#AllNotifications").hide(10);
		});

		$(".Level2menu4").click(function() {
			$("#redact").show(10);
			$("#complain").hide(10);
			$("#building_management").hide(10);
			$("#repairs").hide(10);
			$("#AllNotifications").hide(10);
		});
		$(".Level2menu5").click(function() {
			$("#redact").hide(10);
			$("#complain").hide(10);
			$("#building_management").hide(10);
			$("#repairs").hide(10);
			$("#AllNotifications").show(10);
		});
	});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link href="css/index.css" type="text/css" rel="stylesheet" />
</head>
<body>
	<div class="style0" style="border: 0px black solid;">
		<div class="style1" style="border: 0.5px blue solid;">
			<div class="style2">
				<h1>&nbsp;&nbsp;&nbsp;业主爱好</h1>
			</div>
			<div class="style3" style="border: 0px black solid;">
				<div style="text-indent: 50px;">
					<br />
					<p style="font-size: 20px;">当前用户:${user.nickName}</p>
					<br />
					<p>
						<a style="color: blue;">邮箱地址:${user.email}</a>
					</p>
					<br /> <a href="showlogin" style="text-indent: 20px; color: blue;">注销</a>
				</div>
			</div>
			<div class="style4"
				style="border: 0px black solid; padding: 15px; background-color: #87ceeb;">
				<span style="padding: 50px; color: white;">物业管理平台</span>
			</div>
			<div class="style5">
				<ul>
					<li class="Level1menu1" <c:if test="${premissionRole1.ok==0 }"> style="display: none"</c:if>>业主房屋管理</li>
					<li class="Level2menu1"
						style="display: none; background-color: #00FFFF; padding: 10px;"><a
						href="House">>业主列表</a></li>
					<li class="Level1menu2" <c:if test="${premissionRole2.ok==0 }"> style="display: none"</c:if>>投诉管理</li>
					<li class="Level2menu2"
						style="display: none; background-color: #00FFFF; padding: 10px;"><a 
						href="Complain" >>投诉列表</a></li>
					<li class="Level1menu3" <c:if test="${premissionRole3.ok==0 }"> style="display: none"</c:if>>报修管理</li>
					<li class="Level2menu3"
						style="display: none; background-color: #00FFFF; padding: 10px;"><a 
						href="Repairs">>报修列表</a></li>
					<li class="Level1menu4" <c:if test="${premissionRole4.ok==0 }"> style="display: none"</c:if>>小区通知</li>
					<li class="Level2menu4"
						style="display: none; background-color: #00FFFF; padding: 10px;"><a 
						href="Redact">>编写通知</a></li>
					<li class="Level2menu5"
						style="display: none; background-color: #00FFFF; padding: 10px;"><a
						href="Inform">>全部通知</a></li>
					<li class="Level1menu5" <c:if test="${premissionRole5.ok==0 }"> style="display: none"</c:if>>小区信息</li>
					<li class="Level2menu6"
						style="display: none; background-color: #00FFFF; padding: 10px;"><a 
						href="Community">>小区详情信息</a></li>
					<li <c:if test="${premissionRole6.ok==0 }"> style="display: none"</c:if>>查看小区水电费</li>
					<li class="Level1menu77" <c:if test="${premissionRole7.ok==0 }"> style="display: none"</c:if>>编辑物管</li>
					<li class="Level2menu77"
						style="display: none; background-color: #00FFFF; padding: 10px;"><a 
						href="updateUser">>修改物管账号</a></li>
					
				</ul>
			</div>
		</div>
		<div class="style6" style="border: 1px solid black;">
			<div style="background-color: #87cefa; padding: 41.5px;"></div>
		
		</div>

	</div>
</body>
</html>